package com.example.day_35.service;


import com.example.day_35.model.User;

import java.util.List;

public interface IUserService {
    List<User> list();

    int add(User user);

    int update(User user);

    int delete(int id);

    User login (String name,String password);




}
